package com.jah.picavue.client.events;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;

public class GotUserDataEvent extends GwtEvent<GotUserDataEvent.Handler> {

	public interface Handler extends EventHandler {
		public void onGotUserData(GotUserDataEvent evt);
	}

	@Override
	protected void dispatch(GotUserDataEvent.Handler handler) {
		handler.onGotUserData(this);
	}

	@Override
	public GwtEvent.Type<GotUserDataEvent.Handler> getAssociatedType() {
		return TYPE;
	}

	public static final GwtEvent.Type<GotUserDataEvent.Handler> TYPE = new GwtEvent.Type<GotUserDataEvent.Handler>();
}
